
import service from "../utils/request";


export function admin_login(payload = {}) {
    return service.post('/admin/login', payload)
}

export function admin_list(payload = {}) {
    return service.get('/admin/list', { params: payload })
}
export function admin_delete(payload = {}) {
    return service.post('/admin/delete', payload)
}
export function admin_add(payload = {}) {
    return service.post('/admin/add', payload)
}
export function admin_update(payload = {}) {
    return service.post('/admin/update', payload)
}
export function admin_detail(payload = {}) {
    return service.get('/admin/detail', { params: payload })
}

